package beans;

/**
 * Created by admin on 2017/8/19.
 */
public class ReturnFragmentBean implements Comparable<ReturnFragmentBean>{
    private String materialCode;
    private String materialName;
    private String materialSpecification;
    private int number;
    private String materialUnit;
    private String supplier;
    private int GoodsInfoId;
    private int GoodTypeId;
    private int selectCabinet;

    public int getSelectCabinet() {
        return selectCabinet;
    }

    public void setSelectCabinet(int selectCabinet) {
        this.selectCabinet = selectCabinet;
    }

    public int getGoodTypeId() {
        return GoodTypeId;
    }

    public void setGoodTypeId(int goodTypeId) {
        GoodTypeId = goodTypeId;
    }

    public int getGoodsInfoId() {
        return GoodsInfoId;
    }

    public void setGoodsInfoId(int goodsInfoId) {
        GoodsInfoId = goodsInfoId;
    }

    public String getMaterialCode() {
        return materialCode;
    }

    public void setMaterialCode(String materialCode) {
        this.materialCode = materialCode;
    }

    public String getMaterialName() {
        return materialName;
    }

    public void setMaterialName(String materialName) {
        this.materialName = materialName;
    }

    public String getMaterialSpecification() {
        return materialSpecification;
    }

    public void setMaterialSpecification(String materialSpecification) {
        this.materialSpecification = materialSpecification;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public String getMaterialUnit() {
        return materialUnit;
    }

    public void setMaterialUnit(String materialUnit) {
        this.materialUnit = materialUnit;
    }

    public String getSupplier() {
        return supplier;
    }

    public void setSupplier(String supplier) {
        this.supplier = supplier;
    }


    @Override
    public int compareTo(ReturnFragmentBean o) {
        return String.valueOf(this.selectCabinet).compareTo(String.valueOf(o.selectCabinet));
    }

}
